package cn.itcast.mapper;

import cn.itcast.pojo.OrderSetting;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * @author: peterChen
 * @date: 2019/8/14 9:07
 * @description: TODO
 * @version: 1.0
 */
public interface OrderSettingMapper {
    public long findCountByOrderDate(Date orderDate);

    public void editNumberByOrderDate(OrderSetting orderSetting);

    public void add(OrderSetting orderSetting);

    public List<OrderSetting> findOrderSettingByMonth(HashMap<String, Object> map);

    public OrderSetting findOrderSettingByOrderDate(Date orderDate);

    public void editReservationsByDate(OrderSetting orderSetting);
}
